!function(e){e&&"object"==typeof e||(e={}),null==e.ajaxListenerPath&&(e.ajaxListenerPath=!0);var t=".keep",n="x-datadome-clientid",r="x-set-cookie",o="x-sf-cc-x-set-cookie",a="x-dd-b",i={ready:"dd_ready",blocked:"dd_blocked",responseDisplayed:"dd_response_displayed",responseError:"dd_response_error",responsePassed:"dd_response_passed",captchaDisplayed:"dd_captcha_displayed",captchaError:"dd_captcha_error",captchaPassed:"dd_captcha_passed"},s=null,d={html:"HTML",json:"JSON"};function l(e,t){var n;(t=t||{}).context="xhr_tag","function"==typeof window.CustomEvent?n=new CustomEvent(e,{detail:t}):(s||(s=function(e,t){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!1,!1,t),n}),n=new s(e,t)),n&&window.dispatchEvent(n)}function c(e){var t=null,n=typeof e;if("undefined"!==n){var r=e;if("string"===n)t=[{url:r}];else if(!0===r)t=[{url:document.location.host}];else if(Array.isArray(r)){if(r.length>0){t=[];for(var o=0;o-1&&(a=a.slice(0,i));var s=a.split(".");return s.length>=2?"."+s.slice(-2).join("."):a}(window.location.origin?window.location.origin:window.location.href);u&&localStorage.setItem&&localStorage.setItem("ddSession",t);var r=new Date;r.setTime(r.getTime()+365*24*60*60*1e3);var o="; expires="+r.toGMTString();document.cookie="datadome="+t+o+"; path=/"+(n?"; domain="+n:"")}catch(e){}};function y(e,t){if("string"!=typeof t)return!1;if(null==e.host&&null==e.path&&null==e.query&&null==e.fragment)return null!=e.url&&t.indexOf(e.url)>-1;var n,r={host:"",path:"",query:"",fragment:""},o="//",a="/",i=t.indexOf(o);if(x(t)){var s=(n=t.slice(i+o.length)).indexOf(a);r.host=n.slice(0,s>-1?s:void 0)}else n=t,r.host=document.location.host;var d=n.indexOf(a),l=n.indexOf("?"),c=n.indexOf("#"),p=d>-1?d:0;return l>-1&&(r.path||(r.path=n.slice(p,l)),r.query=n.slice(l,c>-1?c:void 0)),c>-1&&(r.path||(r.path=n.slice(p,c)),r.fragment=n.slice(c)),r.path||(r.path=n.slice(p)),e.strict?Object.keys(e).filter((function(e){return"strict"!=e})).every((function(n){return"url"===n?t.indexOf(e[n])>-1:r[n].indexOf(e[n])>-1})):null!=e.host&&r.host.indexOf(e.host)>-1||null!=e.path&&r.path.indexOf(e.path)>-1||null!=e.query&&r.query.indexOf(e.query)>-1||null!=e.fragment&&r.fragment.indexOf(e.fragment)>-1||null!=e.url&&t.indexOf(e.url)>-1}function g(e,t,n){if(null==e)return!0;if(e===f.endpoint)return!1;if(t&&0===t.length)return!0;for(var r=0;r';c+=' ',c+="";var p='';if(r===t){var u='
'+c+"
";return document.body.insertAdjacentHTML("beforeend",u),f.enableTagEvents&&(l(i.captchaError,{captchaUrl:e,rootElement:n||document.body,reason:"DataDome session not found"}),l(i.responseError,{responsePageUrl:e,rootElement:n||document.body,reason:"DataDome session not found"})),!1}return window.addEventListener?window.addEventListener("scroll",m,!1):window.attachEvent&&window.attachEvent("onscroll",m),m(),n&&n.insertAdjacentHTML?n.insertAdjacentHTML("afterbegin",c):(document.body.insertAdjacentHTML("beforeend",p),document.body.insertAdjacentHTML("beforeend",c)),window.DataDomeCaptchaDisplayed=!0,window.DataDomeResponseDisplayed=!0,f.enableTagEvents&&l(i.captchaDisplayed,{captchaUrl:e,rootElement:n||document.body}),!0}function L(e,t,n,r,o,s,d,c){if(!window.DataDomeResponseDisplayed){var p=!1;if("string"==typeof t)if(String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}),Array.prototype.forEach)t.trim().split(/[\r\n]+/).forEach((function(e){e.split(": ").shift().toLowerCase()===a&&(p=!0)}));else{t=t.trim().split(/[\r\n]+/);for(var u=0;u-1||e.indexOf("-1,o=e.indexOf('{"url":"')>-1,i=(a=s>-1&&d>s&&d1&&arguments[1]&&(!x(arguments[1])||g(arguments[1],e,t))&&(f.withCredentials&&(this.withCredentials=!0),f.sessionByHeader&&(this._dd_hook||(this.setRequestHeader(n,w()),this._dd_hook=!0)))}catch(e){}}}if(s&&window.Request&&"function"==typeof window.Request){var y=window.Request;window.Request=function(){var n=g(p(arguments[0]),e,t);try{n&&arguments.length>1&&arguments[1]&&arguments[1].signal&&delete arguments[1].signal}catch(e){}return new y(arguments[0],arguments[1])}}if(window.fetch){var m=window.fetch;window.fetch=function(){if(arguments.length>1&&arguments[1]&&arguments[1].trustToken)return m.apply(this,arguments);var r,o=p(arguments[0]);if(s&&arguments.length>1&&arguments[1]&&void 0!==arguments[1].signal&&"string"==typeof arguments[0]&&(!x(o)||g(o,e,t)))try{delete arguments[1].signal}catch(e){}if((f.sessionByHeader||f.withCredentials)&&("string"==typeof arguments[0]?r=arguments[0]:"object"==typeof arguments[0]&&"string"==typeof arguments[0].url&&(r=arguments[0].url),"string"==typeof r&&(!x(r)||g(r,e,t)))){var u="function"==typeof Headers&&"function"==typeof Headers.prototype.append;if("object"==typeof arguments[0]&&"string"==typeof arguments[0].url)f.withCredentials&&(arguments[0]["credentials"]="include"),f.sessionByHeader&&(arguments[0].headers||u&&(arguments[0].headers=new Headers),arguments[0].headers&&arguments[0].headers.append(n,w()));else if(arguments.length>=1){if(null==arguments[1]){for(var y=[],b=0;b